package com.bangwz.伪异步io;

import java.io.IOException;

public class Run {

	public static void main(String[] args) throws IOException, InterruptedException {
		new Thread(new Runnable() {

			@Override
			public void run() {
				try {
					Server.start();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}).start();

		Thread.sleep(500);

		new Thread(new Runnable() {

			@Override
			public void run() {
				Client.start();
			}
		}).start();
	}
}
